﻿using Queer.Entity;
using Queer.Model.Param.OrganizationManage;
using Queer.Util.Model;
using System.Collections.Generic;
using System.Threading.Tasks;

namespace Queer.IBusiness.OrganizationManage
{
    public interface IOrganizationsBLL
    {
        #region 获取数据

        Task<TData<List<OrganizationsEntity>>> GetList(OrganizationsListParam param);

        Task<TData<List<OrganizationsEntity>>> GetPageList(OrganizationsListParam param, Pagination pagination);

        Task<TData<OrganizationsEntity>> GetEntity(long id);

        #endregion

        #region 提交数据

        Task<TData<string>> SaveForm(OrganizationsEntity entity);

        Task<TData> DeleteForm(string ids);

        #endregion
    }
}